/*
 * raid.h
 *
 *  Created on: 21/10/2011
 *      Author: MadeyMaga
 */

#ifndef RAID_H_
#define RAID_H_

#define GET_SEC '1'
#define PUT_SEC '2'
#define OTRACOSA '4'

int conectarConRaid();

int getSector(int fdSock, nipcMessage *msg);

int putSector(int fdSock, nipcMessage *msg);

void atenderRaid(int fdSock);

int crearSockRaid();

#endif /* RAID_H_ */
